#pragma once
#include "inputlistener.h"

class Camera;

class CameraCtrl :	public InputListener
{
public:
	CameraCtrl(void);
	~CameraCtrl(void);
	void setCamera(Camera* camera){
		mCamera = camera;
	}
	virtual bool onMouseMove(int x,int y,int deltaX,int deltaY,Dword flags);
	virtual bool onKeyDown(InputKey key);
	virtual bool onKeyUp(InputKey key);
	void frame();
private:
	int mLeft,mUp,mFront;
	Camera * mCamera;
};
